package com.sky.service.admin;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.entity.DishFlavor;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

/**
 * @author wangqi
 * @date 2023/12/28 10:53
 */
public interface DishService {
    void save(DishDTO dishDTO);

    PageResult page(DishPageQueryDTO dishPageQueryDTO);

    void setStatus(Integer status, Long id);

    void update(DishDTO dishDTO);

    DishVO getDishById(Long id);

    void delete(Long[] ids);

    List<Dish> getDishByCategory(Long categoryId);

    List<DishVO> getDishVOByCategoryId(Long categoryId);
}
